
//------------------------------------------------------------------------------

using Apps.Models;
using System;
using System.ComponentModel.DataAnnotations;
namespace Apps.Models.PUB
{

	public partial class PUB_CREWModel:Virtual_PUB_CREWModel
	{
		
	}
	public class Virtual_PUB_CREWModel
	{
		[Display(Name = "机组编号")]
		public virtual string CREW_ID { get; set; }
		[Display(Name = "机组名称"),Required]
		public virtual string CREW_NAME { get; set; }
		[Display(Name = "发电标煤耗"),Required, RegularExpression(@"^[0-9]+(.[0-9]{1,3})?$", ErrorMessage = "发电标煤耗必须大于等于0.")]
		public virtual Nullable<decimal> FDBMH { get; set; }
		[Display(Name = "供热标煤耗"),Required, RegularExpression(@"^[0-9]+(.[0-9]{1,3})?$", ErrorMessage = "供热标煤耗必须大于等于0.")]
		public virtual Nullable<decimal> GDBMH { get; set; }
		[Display(Name = "是否供热")]
		public virtual Nullable<bool> IS_HEATING { get; set; }
		[Display(Name = "额定负荷"), RegularExpression(@"^[0-9]+(.[0-9]{1,3})?$", ErrorMessage = "额定负荷必须大于等于0.")]
		public virtual Nullable<decimal> LOAD_RATED { get; set; }
		[Display(Name = "负荷上限"), RegularExpression(@"^[0-9]+(.[0-9]{1,3})?$", ErrorMessage = "负荷上限必须大于等于0.")]
        public virtual Nullable<decimal> LOAD_UPPER { get; set; }
		[Display(Name = "负荷下限"), RegularExpression(@"^[0-9]+(.[0-9]{1,3})?$", ErrorMessage = "负荷下限必须大于等于0.")]
		public virtual Nullable<decimal> LOAD_LOWER { get; set; }
		}
}
